<script lang="ts" setup name = 'App'> /* 写TS  */
import FindYou from './components/Person.vue' // 在导入时使用了 myPerson 这个变量名
import {ref} from 'vue'

let ren = ref()

function showLog() {
  console.log(ren.value);
}


</script>




<template>
  <button @click="showLog">测试</button>
  <FindYou ref = 'ren'/>
</template>




<style>
.app {
  background-color: skyblue;
}
</style>
